/*
 * @Author: your name
 * @Date: 2020-03-26 09:41:08
 * @LastEditTime: 2020-03-26 09:41:10
 * @LastEditors: Please set LastEditors
 * @Description: 月光宝盒
 */

// 登录
export const getLogin = "http://129.211.131.22/login/login?timestamp="
// 获取账号信息
export const getdefaultbindvestlist = "http://129.211.131.22/PersonalCenter/getdefaultbindvestlist?timestamp="
// 确认账号信息
export const getApplyforamission = "http://129.211.131.22/PersonalCenter/applyforamission?timestamp="
// 获取任务
export const getQueryapplyforamission = "http://129.211.131.22/PersonalCenter/queryapplyforamission?timestamp="
// 接单
export const getMembermissioninfo = "http://129.211.131.22/MyssionHall/Acquiremission?timestamp="

export function ajaxFun(url, param, fun) {
    window.api.ajax({
        url: url,
        method: param.type,
        headers: param.headers,
        dataType: 'json',
        returnAll: false,
        data: {
            values: param.data
        }
    }, fun)
}
